import request from '@/utils/request'

export const dologin = (data) => {
  return request.post('/api/acc/doLogin', data)
}

export const logout = (data) => {
  return request.get('/api/acc/logout', { params: data })
}

export const tokenInfo  = (data) => {
    return request.get('/api/acc/tokenInfo', { params: data })
}
export const updatepwd = (data) => {
  return request.post('/api/acc/updatePwd', data)
}